package com.blog;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableTransactionManagement
@EnableFeignClients(basePackages = "com.blog.feign")
@SpringBootApplication
@Slf4j
@MapperScan("com.blog.mapper")
public class SecOrdersMainApplication {
    public static void main(String[] args) {
        SpringApplication.run(SecOrdersMainApplication.class,args);
        log.info("--------------SecOrdersMainApplication启动------------------");
    }
}